package cn.fl.customer.service;

import java.util.List;

import cmm.mid.core.framework.page.KeyValueVO;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.customer.vo.CstCorpTeamVO;
import fl.customer.facade.customer.condition.CstCorpTeamQueryCondition;

/**
 * @Description: 法人企业团队信息表 客户端服务层接口
 * @Description: 业务层方法名称前缀：新增：add* 删除：remove* 修改：modify* 查询对象：select* get* 查询集合：search*
 */
public interface ICstCorpTeamService {
	
	/**
	 * 获取唯一对象
	 * @param id 主键
	 * @return 对象DTO
	 */
	public CstCorpTeamVO selectById(Long id)throws BaseException;
	
	/**
	 * 新增
	 * @param entity
	 * @return
	 */
    public Long add(CstCorpTeamVO entity) throws BaseException;

    /**
     * 删除
     * @param idList
     * @return
     */
    public boolean removeByIds(List<Long> idList)throws BaseException;

    /**
     * 修改
     * @param entity
     * @return
     */
    public boolean modify(CstCorpTeamVO entity)throws BaseException;

    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public Pager searchListPage(Pager page)throws BaseException;
    
    /**
     * 分页查询所有
     * @param page
     * @return
     */
    public List<CstCorpTeamVO> searchList(CstCorpTeamQueryCondition condition) throws BaseException;
    
    /**
     * 查询字典成员类型（CST0013）
     * @return List<KeyValueVO>
     */
    public List<KeyValueVO> searchMTypCdList()throws BaseException;
}
